package ${package}.exception;

/**
 * Base Service exception.
 */
public class ServiceException extends RuntimeException {
    /**
     * Constructs new exception with supplied error message.
     *
     * @param message exception message
     */
    public ServiceException(final String message) {
        super(message);
    }

    /**
     * Constructs new exception with supplied cause.
     *
     * @param cause exception cause
     */
    public ServiceException(final Throwable cause) {
        super(cause);
    }

    /**
     * Constructs new exception with supplied message and cause.
     *
     * @param message exception message
     * @param cause   exception cause
     */
    public ServiceException(final String message, final Throwable cause) {
        super(message, cause);
    }
}
